﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860

namespace JobService.Api
{
    [Route("/api/user")]
    public class UserController : Controller
    {
      
        [HttpGet("info")]
        public IActionResult Info()
        {
            return Json(new
            {
                roles = new string[] { "admin" },
                token = "admin",
                introduction = "我是超级管理员",
                avatar = "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",
                name = "Super Admin"
            });
        }
    }
}
